package rtm.task;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class Task {

	private int id;
	private Date due;
	private Date added;
	private Date completed;
	private String name;
	private List<String> tags = new ArrayList<String>();
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public Date getDue() {
		return due;
	}
	public void setDue(Date due) {
		this.due = due;
	}
	public Date getAdded() {
		return added;
	}
	public void setAdded(Date added) {
		this.added = added;
	}
	public Date getCompleted() {
		return completed;
	}
	public void setCompleted(Date completed) {
		this.completed = completed;
	}

	public void addTag(String tag) {
		tags.add(tag);
	}

	
	
}
